/***********************************************
 This file is part of redia-bapps-main-ios.
 
 Copyright (c) 2015 Redia A/S
 
 Redia-bapps-main-ios is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 
 redia-bapps-main-ios is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with redia-bapps-main-ios.  If not, see <http://www.gnu.org/licenses/>.
 
 *********************************************** */

//
//  BARelatedMaterialsData.h
//  redia-bapps-ios
//
//  Created by Mads Darø Kristensen on 10/23/13.
//  Copyright (c) 2013 redia. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BASearchResult.h"
#import "BAAboutCreator.h"
#import "BAReview.h"

#define BA_RELATED_MATERIAL_TYPE_MORE_BY_AUTHOR 1
#define BA_RELATED_MATERIAL_TYPE_MORE_IN_SERIES 2
#define BA_RELATED_MATERIAL_TYPE_RELATED_LOANS 3
#define BA_RELATED_MATERIAL_TYPE_REVIEWS 4
#define BA_RELATED_MATERIAL_TYPE_ABOUT_AUTHOR 5
#define BA_RELATED_MATERIAL_TYPE_SINGLE_REVIEW 6
#define BA_RELATED_MATERIAL_TYPE_HOME_AT 7
#define BA_RELATED_MATERIAL_TYPE_NEWS_AND_ARRANGEMENTS_MATERIALS 8

@interface BARelatedMaterialsData : NSObject

@property (strong, nonatomic) BASearchResult *searchResult;
@property (strong, nonatomic) NSArray *records;
@property (strong, nonatomic) NSArray *reviews;
@property (assign, nonatomic) NSInteger relationType;
@property (strong, nonatomic) NSString *identifier;
@property (strong, nonatomic) BAAboutCreator *aboutAuthor;
@property (strong, nonatomic) BAReview* singleReview;
@property (strong, nonatomic) NSArray* faustIdentifiers;

@end
